package com.tg.data.http.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class VersionBean implements Parcelable {

    /**
     * version_code : 03030101
     * version_no : 03030111
     * firmware_id : 2
     * update_time : 2019-03-15 18:26:57
     * content : 更新内容
     */

    private String version_code;
    private String version_no;
    private String firmware_id;
    private String update_time;
    private String content;

    public String getVersion_code() {
        return version_code;
    }

    public void setVersion_code(String version_code) {
        this.version_code = version_code;
    }

    public String getVersion_no() {
        return version_no;
    }

    public void setVersion_no(String version_no) {
        this.version_no = version_no;
    }

    public String getFirmware_id() {
        return firmware_id;
    }

    public void setFirmware_id(String firmware_id) {
        this.firmware_id = firmware_id;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.version_code);
        dest.writeString(this.version_no);
        dest.writeString(this.firmware_id);
        dest.writeString(this.update_time);
        dest.writeString(this.content);
    }

    public VersionBean() {
    }

    protected VersionBean(Parcel in) {
        this.version_code = in.readString();
        this.version_no = in.readString();
        this.firmware_id = in.readString();
        this.update_time = in.readString();
        this.content = in.readString();
    }

    public static final Parcelable.Creator<VersionBean> CREATOR = new Parcelable.Creator<VersionBean>() {
        @Override
        public VersionBean createFromParcel(Parcel source) {
            return new VersionBean(source);
        }

        @Override
        public VersionBean[] newArray(int size) {
            return new VersionBean[size];
        }
    };
}
